Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.picture.web.plugins--urlpatterns

This contribution is part of XML component org.nuxeo.ecm.platform.picture.web.plugins inside nuxeo-platform-imaging-dm-6.0.jar

Extension Point

Extension point urlpatterns of component URLService.

Contributed Items

  • <urlPattern enabled="true" name="downloadPicture">
          <defaultURLPolicy>false</defaultURLPolicy>
          <needBaseURL>true</needBaseURL>
          <needRedirectFilter>false</needRedirectFilter>
          <needFilterPreprocessing>true</needFilterPreprocessing>
          <codecName>downloadPicture</codecName>
          <actionBinding>#{pictureManager.download}</actionBinding>
          <documentViewBinding>
            #{restHelper.documentView}
          </documentViewBinding>
          <newDocumentViewBinding>
            #{restHelper.newDocumentView}
          </newDocumentViewBinding>
        </urlPattern>
  • <urlPattern enabled="true" name="downloadThumbnail">
          <defaultURLPolicy>false</defaultURLPolicy>
          <needBaseURL>true</needBaseURL>
          <needRedirectFilter>false</needRedirectFilter>
          <needFilterPreprocessing>true</needFilterPreprocessing>
          <codecName>downloadThumbnail</codecName>
          <actionBinding>#{pictureManager.downloadThumbnail}</actionBinding>
          <documentViewBinding>
            #{restHelper.documentView}
          </documentViewBinding>
          <newDocumentViewBinding>
            #{restHelper.newDocumentView}
          </newDocumentViewBinding>
        </urlPattern>

XML Source

<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService">
    <urlPattern enabled="true" name="downloadPicture">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>false</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>downloadPicture</codecName>
      <actionBinding>#{pictureManager.download}</actionBinding>
      <documentViewBinding>
        #{restHelper.documentView}
      </documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.newDocumentView}
      </newDocumentViewBinding>
    </urlPattern>

    <urlPattern enabled="true" name="downloadThumbnail">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>false</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>downloadThumbnail</codecName>
      <actionBinding>#{pictureManager.downloadThumbnail}</actionBinding>
      <documentViewBinding>
        #{restHelper.documentView}
      </documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.newDocumentView}
      </newDocumentViewBinding>
    </urlPattern>
  </extension>